part of YFree;

///获取屏幕尺寸
Size yScreenSize(BuildContext context) => MediaQuery.of(context).size;

///获取状态栏高度
double yStatubarHeight(BuildContext context) => MediaQuery.of(context).padding.top;

///获取导航条高度
double yNavBarHeight() {
  return kIsWeb ? 50 : (Platform.isAndroid ? 50 : 44);
}
